package t2;

public class eat {
    public eat(double money) throws nomoney {
        if (money<10) throw new nomoney("钱不够");
    }
}
